ECE-261 Introduction to Embedded Systems

Undergraduate course, Pak-Austria Fachhochschule: Institute of Applied Sciences and Technology, Sino-Pak Center for Artificial Intelligence, 2024

Course Description: Introduction to Embedded Systems, General Purpose vs. Embedded Computing, Multicore processors, Components of Embedded System, Microprocessors vs. Microcontrollers, Processor Architecture, Neumann vs. Harvard, RISC vs CISC. Memory, Registers, Cache, RAM, SRAM, DRAM, ROM, PROM, EEPROM, FLASH. Introduction to AVR microcontroller, ATMEGA328P architecture and features, Internal Registers, Memory, ATMEGA328P Instruction Set. Machine code, Addressing modes and Instruction Set, I/O Programming, Arithmetic and Logical Instructions, Branching Instructions, Generating Delays, Interrupt handling, Timers, PWM using Timers, DC motor interface, Communication Ports programming, UART Bluetooth Module Interface, AT Commands, ADC, Successive Approximation ADC, Temperature Sensor, Keypad & LCD Interface, Revision of selected topics.

The course follows the following schedule:

Week 1 Introduction to Embedded Systems, Processors vs. Microcontroller, Processors Architecture Week 2 Memory in Embedded Systems Week 3 Introduction to AVR microcontrollers Week 4 Introduction to Assembly Language Week 5 AVR Program Memory, OPCODE, Hex File Week 6 AVR I/O Ports Programming, Mid-Term 1 Week 7 ADD Instruction and CPU Flags Week 8 Branching Instructions, Subroutines Week 9 Generating Delays, Week 10 Subtraction, Multiplication and Logic Instructions Week 11 Timers (1): Timer0 Registers, Normal Mode Week 12 Timers (2): Interrupts, Timer0 Interrupts, Mid-Term 2 Week 13 Timers (3): CTC Mode, PWM Mode, DC Motor Interface Week 14 USART, HC-05 UART BT Module, AT Commands, Expert Lecture Week 15 ADC, LM35 Temperature Sensor Module Week 16 Keypad & LCD Interfacing, Storing Data in Code Memory Week 17 Revision of selected topics

Recommended Readings

Textbooks:

  1. Muhammad Ali Mazidi, Sarmad Naimi and Sepehr Naimi, “AVR Microcontroller and Embedded Systems: Using Assembly and C”, Pearson. 2nd Edition.
  2. Frank Vahid and Tony D. Givargis, “Embedded System Design: A Unified Hardware/Software Introduction”, John Wiley & Sons.

Reference books: Embedded Systems: A Contemporary Design Tool 2nd Edition by James K. Peckol